package com.dyna.digit.process.domain.resp;

import com.dyna.constants.DateFatter;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author zhoucaiwang
 * @date 2023/12/25
 */

@ApiModel(value = "项目列表分页查询对象")
@Data
public class DigitProjectPage {

    @ApiModelProperty(value = "项目id")
    private Integer projectId;

    @ApiModelProperty(value = "项目状态")
    private Integer status;

    @ApiModelProperty(value = "项目流程状态")
    private Integer flowStatus;
    private String flowStatusText;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "项目类型")
    private Integer projectType;

    @ApiModelProperty(value = "财政预算年份")
    private Integer year;

    @ApiModelProperty("主管部门")
    private Integer baseManDept;
    private String baseManDeptText;

    @ApiModelProperty(value = "建设类别/运维类别")
    private Integer projBuildCategory;
    private String projBuildCategoryText;

    @ApiModelProperty("总金额")
    private BigDecimal projTotalAmount;

    @ApiModelProperty("年度金额")
    private BigDecimal projYearAmount;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = DateFatter.YYYY_MM_DD_HH_MM_SS)
    private LocalDateTime createTime;

}
